package com.lihuacats.bilibili.task.bilibili_task.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author : kurisu
 * @className : properties
 * @description :
 * @date: 2021-10-19 09:58
 */
@ConfigurationProperties("bilibili")
public class ConfigProperties {
    /**
     * 代表所需要投币的数量
     */
    private Integer coin;
    /**
     * 送出即将过期的礼物 true 默认送出
     */
    private boolean gift;
    /**
     * 要将银瓜子转换成硬币 true 默认转换
     */
    private boolean s2c;
    /**
     * 自动使用 B 币卷
     */
    private String autoBiCoin;
    /**
     * 用户设备的标识
     */
    private String platform;
    /**
     * 投币给自定义的 up 主
     */
    private List<String> upList;
    /**
     * 自动进行漫画签到任务
     */
    private boolean manga;
    /**
     * 送出即将过期礼物给此 up 的直播间
     */
    private String upLive;
    /**
     * 对于进行投币的视频选择是否点赞
     */
    private String selectLike;
    /**
     * bilibili缓存信息
     */
    private String bilijct;
    private String sessdata;
    private String dedeuserid;
    /**
     * 钉钉的配置
     */
    private String dingding;
    /**
     * 结果推送到server酱的配置
     */
    private String sckey;

    /**
     * 结果推送到Server酱 测试号版的配置
     */
    private String sendkey;

    /**
     * 结果推送到PUSHPLUSTK的配置
     */
    private String pushplustk;

    /**
     * 结果推送到Telegram Bot的配置
     */
    private String telegramBotToken;

    /**
     * 结果推送到Telegram Bot的配置
     */
    private String telegramChatId;


    public Integer getCoin() {
        return coin;
    }

    public void setCoin(Integer coin) {
        this.coin = coin;
    }

    public boolean isGift() {
        return gift;
    }

    public void setGift(boolean gift) {
        this.gift = gift;
    }

    public boolean isS2c() {
        return s2c;
    }

    public void setS2c(boolean s2c) {
        this.s2c = s2c;
    }

    public String getAutoBiCoin() {
        return autoBiCoin;
    }

    public void setAutoBiCoin(String autoBiCoin) {
        this.autoBiCoin = autoBiCoin;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public List<String> getUpList() {
        return upList;
    }

    public void setUpList(List<String> upList) {
        this.upList = upList;
    }

    public boolean isManga() {
        return manga;
    }

    public void setManga(boolean manga) {
        this.manga = manga;
    }

    public String getUpLive() {
        return upLive;
    }

    public void setUpLive(String upLive) {
        this.upLive = upLive;
    }

    public String getSelectLike() {
        return selectLike;
    }

    public void setSelectLike(String selectLike) {
        this.selectLike = selectLike;
    }

    public String getBilijct() {
        return bilijct;
    }

    public void setBilijct(String bilijct) {
        this.bilijct = bilijct;
    }

    public String getSessdata() {
        return sessdata;
    }

    public void setSessdata(String sessdata) {
        this.sessdata = sessdata;
    }

    public String getDedeuserid() {
        return dedeuserid;
    }

    public void setDedeuserid(String dedeuserid) {
        this.dedeuserid = dedeuserid;
    }

    public String getDingding() {
        return dingding;
    }

    public void setDingding(String dingding) {
        this.dingding = dingding;
    }

    public String getSckey() {
        return sckey;
    }

    public void setSckey(String sckey) {
        this.sckey = sckey;
    }

    public String getSendkey() {
        return sendkey;
    }

    public void setSendkey(String sendkey) {
        this.sendkey = sendkey;
    }

    public String getPushplustk() {
        return pushplustk;
    }

    public void setPushplustk(String pushplustk) {
        this.pushplustk = pushplustk;
    }

    public String getTelegramBotToken() {
        return telegramBotToken;
    }

    public void setTelegramBotToken(String telegramBotToken) {
        this.telegramBotToken = telegramBotToken;
    }

    public String getTelegramChatId() {
        return telegramChatId;
    }

    public void setTelegramChatId(String telegramChatId) {
        this.telegramChatId = telegramChatId;
    }

    @Override
    public String toString() {
        return "com.lihuacats.bilibili.task.bilibili_task.config.ConfigProperties{" + "coin=" + coin +
                ", gift=" + gift +
                ", s2c=" + s2c +
                ", autoBiCoin='" + autoBiCoin + '\'' +
                ", platform='" + platform + '\'' +
                ", upList=" + upList +
                ", manga=" + manga +
                ", upLive='" + upLive + '\'' +
                ", selectLike='" + selectLike + '\'' +
                ", bilijct='" + bilijct + '\'' +
                ", sessdata='" + sessdata + '\'' +
                ", dedeuserid='" + dedeuserid + '\'' +
                ", dingding='" + dingding + '\'' +
                ", sckey='" + sckey + '\'' +
                ", sendkey='" + sendkey + '\'' +
                ", pushplustk='" + pushplustk + '\'' +
                ", telegramBotToken='" + telegramBotToken + '\'' +
                ", telegramChatId='" + telegramChatId + '\'' +
                '}';
    }
}
